package com.hmdp.thread;

/**
 * @author 陈俊宇
 * * @date 2025/9/22
 */
public class TestThread1  extends Thread{
    public static void main(String[] args) {
        TestThread1 t1 = new TestThread1();
        t1.start();
        t1.run();

        for (int i = 0; i < 100; i++) {
            System.out.println("main:" + i);
        }
    }
    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.print("t1:" + i+" ");
        }
    }
}
